tell application "AutoShare.68k" -- or enter "AutoShare.ppc" if PowerPC GetMisc -- Get the Miscellaneous settings end tell -- not using AutoShare anymoreText following a double dash is comments only. Click on the Click Syntax button to verify that you have entered the script contents without errors. Once verified, select Save As from the File menu, enter a file name of Script1, set kind to Compiled Script and click the Save button.
Congratulations! You have just completed your first AutoShare AppleScript!
Click on the Run button to run the script. When the beach ball stops spinning, select Show Result from the Controls menu, unless the the result window is open already.
This window lists your Miscellaneous settings as pairs of property names and contents. If you drag the AutoShare icon onto the Script Editor icon, a new window opens showing the AppleScript dictionary of AutoShare. To the left, click on the GetMisc command and then further down the Misc Options class. You can see how the properties of the Misc Options class correspond to those in the the result window.